Move database schema into its own file