updated client to sync operations and added basic flask api
no message
return 404 on not found