Started on SQLWriter

SQLWriter currently only does some sanity checks (e.g. checks if all
required fields have matches in tables post, splitGrp and proj).