cleaned up code for netty handlers and logic, deleted and simplified logic