Added new db layer, settings, page interface, lots of stuff.