refactored func.php into packages, renamed functions, updated error handling, upgraded boot process
updated readme and composer conf