make main schema making views