KOTA-7: added retrieval of a single code
KOTA-70: added fetching and converting application options