Some refactoring
Some tests for objects
Big refactorin, new function to execute pipes
Removed more code :)