Gem to work with simple text database