Added apply.php & composer file
Minor fixes/tweaks, lots of explanatory comments
added CLI options for DB settings (host, dbname, user, pass, etc)
Fixed comparator, hadnle bad config file
Merge pull request #1 from mshanken/composed

Composed