moved version to its own api