changed from frame_count_in/out to frame_in/out
deleted base class
got state transitions working