Core engine file

Still working on it, please do not edit!