Moves the view code into a new module

Moved the view helper code into a new module under quark, and cleans up
a few other bits of the code as well.
Deallocated IP after disassociation left no ports
Merge pull request #104 from Cerberus98/cleanup_merge

Moves the view code into a new module
Merge pull request #94 from asadoughi/disassociate_port_fix

Deallocated IP after disassociation left no ports