added skill interfaces to smach state machines, added template code for servicestates