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