moved code into source, created general configuration.php
added feature for existing command line user tool