fixed some interfaces, and added a FlowView