Flow instances can now be used in new instantiations, in order to reuse programs. Added unit tests. (#20)