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