First step to SM application logic abstraction