Add main class for work with Resource in Spring