Added a base class for all entities

Added a base class for all entities (template, visualisation), changed
the color on some icons, and made the user overview being sorted
chronologically.