working on improving the module system and php example