Code cleanup: Added javadoc, moved files to logical packages and autoformatted all code.