refactored netty modules