change REST API to have version separately, opening the way to UI