add initial support for Topology object