Repository refactoring.
BasicBehaviors demo added.