the begin of rest api implementation, still not work

We WILL FINISH IT! to work properly soon