Renamed functions file to system.inc