Initial database set up code.