Implemented Behavior class template

Signed-off-by: JWhy <jwhydev@jwhy.de>