This really needs to be refactored. A autoloading support / easy `composer` integration is a must for libraries to be really useful these days.