Started thinking about database layout. Not done yet