Application version number works correctly now. Fixed for incorrectly
setup class in Api