Eliminate python usage in API call processing and replace python server with postgrest