Added a Ant Build Script and fixed two bugs that gave compile errors.