Cleaned up and migrated to Maven.