use psr-4 autoloader

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

use psr-4 autoloader