Updated ManagerHandler

Modified managerhandler to accept an arbitrary type rather than an
explicit int. This will allow direct passing of an enum, rather than
typecasting or explicitly declaring an int