correct way to use composer autoloader