Corrected the composer autoload and target-dir.