Added Pipeline module, reworked main
Added some comments to Pipeline.hs