Simplify Singleton and Config

Config original did not work in Python3.x, but this works.
But do not work in Python3.x If do not rewritten others too.