Initial version of flowspace code