Define Entity

* got it from another project of mine.. https://github.com/brunops/multiplayer-simulation/blob/master/js/Entity.js
Move js files to js/ folder
Update test require to reflect new folder structure