let developers specify api version

ref#74