Fixed build path and added gitignore for build directory and tomcat