Refactored list-ports
Merge pull request #3 from blakejakopovic/list-ports-refactor

Refactored list-ports