cleanup

cleaned index file and moved autoload from composer file to autoloader