It works!

First version which really works. But it needs some features.... hmhmhm