Finish up some meta programming stuff. Queries mostly working, saving/updating not working.