added db backend functionality so topics can have one level of subtopic; not sure if I want to do infinite recursive depth just yet.