Initial db schema stuff and other misc. changes.