Implemented general lifecycle

Nothing tested yet
Some test data. Depth is coloured
Merge pull request #8 from clojurecup2014/clientside

Clientside