started implementation of SQL storage