Filled in some javadoc and removed Main class.