Updated to parent 0.4.0 and replaced Rhino with Nashorn
Pipeline internal refactoring
Java 8-style refactoring