code style cleanup and modified build.xml to use target instead of build