added application structs to api