switch to psr-4 autoloader

since target-dir is deprecated.