pyzor db backend migration script

implementation for issue #2