Move flow API to own module (GWT and maven)