Added all the functionality and the db with stuff inside.