Convert to a Maven project

Also fix web.xml