Creating initial rest api