added composer autoloading
refactor routerhandler