Issue 5 transform

This pull request does many things (should close #43 and partly fullfill #5 and #8 ) .To gain a quick overview have a look at the transformed data (see link in the README).