Added a demo mode
Refactor Javascript backend
Added support for entity pictures