Started to set up the parts to the database