Replace sqlite db with csv file

- makes the gem work with JRuby