remove requires (autoloading), add composer, add some debug capabilities