Database 4

Database DONE! (and not a moment to soon xD, was going nuts of only
looking at code xD)