Made various changes to code structure. I also modified the base.sql file to
allow for greater VARCHAR input. There is still a bug that keeps multi-port entries from properly inserting.