init config class

Add singletin behaviour