Add xp api and simple spec
Add lots of things