how to create class in spring boot