list versions api, improved api structure