Refined .gitignore and added build.xml.