New Database layout

This is taken from the work that @deathbearbrown and @jennschiffer did in #33. That branch is too divergent and difficult to merge back into master. So the best approach is to take piecemeal parts of it and merge them into master. This is the first one with the new database view. 
![screenshot 2014-08-27 16 51 05](https://cloud.githubusercontent.com/assets/179458/4061623/a2558a98-2df9-11e4-895f-e6e4246ed29e.png)