Create Port class
Move diagram generation method to Port class
Merge pull request #7 from dtan4/port-class

Create Port class