updated autoload config for composer, added lib dir