Removed functions from ConnectionManager

- Each function is moved to its respective class
Updated commands

- Functions moved from ConnectionManager to each Command child class
Moved HandleConnection to Device class