First version

This is the first version. I think it is now in a state wher it also usefull for others.