splitted and renamed statemachine to states in hevi_util/ and 
samples/