removed use of class; added sugar methods; setup world and entity to be event emitters