BaseHandler implementation totaly Refactored.