1. adding init function in ASTMPServer
2. incorp with Qsession for stmp logic