added autoloading, licensing