finally splitting old 4store.rb