Redo database
Revert 1de2125..639ea20

This rolls back to commit 1de212560fe0d60c2b971f769679cd5926b97517.
Revert "Revert 1de2125..639ea20"

This reverts commit 909c66c25a64b619c16df3cc4228906f80e70d38.
Merge pull request #2 from franztt/dev

Dev