lots of changes: new classes (Pipe, NaviControl), new main, etc.