Moved across more files from the original game dir, also added __proto__ loading system for entities with mix-in components.