started turning backend into REST api
Quick fix