Repo show and refactoring

Run options: 

# Running tests:

...........

Finished tests in 2.959666s, 3.7166 tests/s, 8.1090 assertions/s.

11 tests, 24 assertions, 0 failures, 0 errors, 0 skips
Run options: 

# Running tests:

....................................

Finished tests in 1.667432s, 21.5901 tests/s, 53.3755 assertions/s.

36 tests, 89 assertions, 0 failures, 0 errors, 0 skips