Add and update javadoc for several public classes. Move the docs folder to the root directory.