Database-y things

Also, got started getting ready for heroku. words. GHAR!