added composer configuration, main php file and apache htaccess