added the build.xml file

the build created some .class files, which I also added
updated the path for the main class
updated the value for main-class property
I refactored the code into multiple packages
refactored code into multiple packages
refacted code to multiple packages