I created a singleton (abstract) class that requires to have some data initialized before most methods can be used. This is an example of how the class looks like: