Added some more data base bits

not working yet but a few bits to draw content from the database have
started to be implemented