change some codes

removed System.out and System.err, log4j is imported meanwhile. add
MultiNioSelectorThreadScheduler