Changed naming convention

modified private class variables to be prepended with "g_"