Start of an API framework for XOT