refactor functions into different files
File renaming: php_functions to pux_functions