added these 2 files from Brandon's, working on MainCoreClass - Model_Core thing