init config class

Add singleton behaviour