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