adding composer.json to create package
restructuring of require_once definition and updating docblocks
Update README