Get storage.coffee working with the SQL database code