creating interfaces for registering topics