implementing api for Wine app with Ninja Framework