start changing to REST/Flask api
start changing to flask server
using flask server