Split sql schema file into sections and added a bash database build script