Added Level.js and more functionality to Entity class