Refactoring for HandlerType

Still not complete
Client handlers and handler lists not implement HandlerType

Some debug and docs added