implementing new simplificiation of apis
moved the api verison to a class variable for configurability