Added build script for schema

This is only a temporary buildscheme, we should use something
more complete to support dependency trees between relations