Refactoring.
Fix using collections constructors for java 6 instead of java 7.
Move Constants to another package.
Add javadoc comments.
Add class for Hadoop jobs.
Prepare for hadoop.