Hooked up database, stored topics in it