use psr-4 autoloader

since target-dir is deprecated
Merge pull request #54 from jrobeson/patch-1

use psr-4 autoloader