Add first version of port open procedure
Business logic moved to static classes accessible from entire gui