get main method working with spring boot