fixing some errors with topic management, beginning work on topic subscription