Revert "Added comments, cleaned up code, added default formatting for eclipse."

This reverts commit a3b87543d786033f2372b09a384608bb234f017f.
Revert "Revert "Added comments, cleaned up code, added default formatting for eclipse.""

This reverts commit ba0444ee492d3052324a6edcb8f5e5121f549114.