Basic rest working implementation