Refactor to support SQL Queries for Code insertions
Insert Scan Query
Scan fetching