improvements to composer module dependencies and autoloading class