Move configuring tomcat out to different file