Wrapping up BehaviorWindow with cr library

review: @adrifelt 

I wrapped up BehaviorWindow with cr object.