debugged 3d3e520

> RESStorage, RESSQLiteStorage, RESSimpleStorage classes; refactored migration

because it actually works this way, I think