Added spring dependencies to pom, annotations for resource.