improved autoloading
added routing; see issue #10