Added behavior method process support
Refactored setFlashMessage to be generic
Moved logging to a component (reusability)