Core: Added a separate directory to house php functions, essentially anything php that can be moved away from the running script.