Created database layout