Install rubocop

The gem will serve as precaution, in order to keep
coding standards up.

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>
Clean up code according to rubocop standards

Signed-off-by: Joan Tiffany Siy <joan@teamcodeflux.com>