More layout stuff. Setup initial databases