added everything needed to run as a web application using Spring Web MVC and removed the old main class used for standalone app