change the way to specify handler packages

The abstract class way force the user to specify the
packages. And it makes the define of servlet a little
simpler.