Issue 13

For issues #13 #18 #19, however it is not completely finished.

Current example:
![skarmavbild 2013-10-17 kl 21 24 34](https://f.cloud.github.com/assets/1571893/1355212/fe03dee2-3761-11e3-8d0d-404f3db191a7.png)