Created rough draft of database class.

Created rough draft of database class.