Using GD for store pyfunctions; Added FK and Pk and Indices.