Added methods ApplicationModel::getToken() and ApplicationModel::GetInstanceByToken()