changes recommended by code climate.
Merge pull request #17 from rdepena/feature/code_climate_changes

changes recommended by code climate.