create Behavior and Instance classes