split Schema class into its own file