Revert "This is in a very bad state :("

This reverts commit 70dde352ce69bdf9d15a237c53a7beb402e3b71a.
Functioning display, not functioning database inserts. crashes.