NGI_pipeline working version

It is still under testing but it should be pretty stable: @mario please review it carefully
They're quite interesting, take a look at [this](http://simeonfranklin.com/blog/2012/jul/1/python-decorators-in-12-steps/) post whenever you have time