Add sql schema
Implement save procedure