Added javadoc comments and deleted unnecessary files