Using a PHP script because there may be some added complexity in using a BaSH script. We'll see how it goes.
Moved/renamed and added some clarity.
Added to lock down dependencies.
Fleshign out entity mapper stuff.