refactor step: extracted some SQL string building
my mock in pry
pry-plus & loosening some rails deps
handling some nil values
bump to 0.0.3