Port package to python2.6
Change methods to pvt, swagger spec back port