Migrate to maven and add tomcat server