added public folders and moved composer autoload to app