Split helper functions into their own files.  Added a first pass at a DB schema.  Began splitting out layout files.