add basic sql service access layer draft code