Refactored project, enabled compiling to jar from ANT
Also works as a project in Eclipse
Fixed some minor warnings