Dat database commit

Makes the database work on local machines (hopefully)