interface for moving to REST based architecture