hooking up scripts to process the schema
refactor that removes most of the garbage model code I was previously writing