Then i found a better way of calling other game functions from the main core game file.