Create topics automatically

If a given topic name isn't already created, create it automatically. Fix for issue #48.