DRY case switch
Extract method: SqlFile#write
Syncrhonize: SqlFile#open and SqlFile#close
Refactor names
Refactor file glob and database file
Set empty arrays to hash's initial values
Optimize query
Remove references method with hash-based conditions
Merge pull request #46 from suginoy/refactoring-eijiro

Refactoring eijiro