introducing Behavior trait; splitting apart reactive plot pieces into files