Modev code of server to the framework