Added build script
Fixed output and added build.xml