Various changes

* Added rubocop and fixed offences
* Refactored display into table display and JSON display
* Changed to N/A to empty string