Set up the class structure for sqlite