use psr-4 autoloader

target-dir is now deprecated so it'd be a good idea to switch