Fix build process by cleaning up abuse of multipipe, fix broken tests and simplify application routing