add new methods to base handler class

Created a new wrapper class for common handler methods.
Added methods to base handler class.