How we did refactoring of our jwt java project.