[Miracle] I've set up Miracles class to work with entities and resource manager. This is about all I can do for now.