Chopbox Connection and Refactoring