Restructured the project to reflect eclipse java project organization.

Corrected some issues in the data types and added getters/setters.