code for accessing
ECA to SQLITE converter