Add new core functions file
Move get_var to new core-functions
Include functions-core in apps_core