Add sql schema and initial main file