Behavior Based Framework For Teaching