Moving data-router to Springboot for security