Adding initial rest api for layers table