Added some DB support. This will have to be tested still and I am still
mapping out how state of the data will be stored.