removed entities.js, moved classes into seperate files