working version from tomatoes API (local server)
server module