Create Database class to make data access simpler
Easily convert State objects to dict
Demonstrate use of Database class