Added the basic graph part and the database setup.