Refactored processConnnection into smaller functions
Merge branch 'master' of https://github.com/rmtmckenzie/seng-426-group5