write basic emitter class
Merge branch 'master' into emitters

* master:
  clear entities on initialization
  use entities everywhere
  add entities module
  States fix
emitters are entities too
Merge branch 'emitters'

* emitters:
  emitters are entities too
  write basic emitter class