Changed the directory structure and generated some PHPdocs...