added Entity and Scene classes