old_contents: # facade classes
  from glim.core import App
  
  class Facade(object):
  	key = None
  
  	@staticmethod
  	def __getattr__(self, attr):
  		def default(* args):
  			instance = App.resolve(key)
  			method = getattr(instance, attr)
  			return instance.method(args)
  
  class Config(Facade):
  	key = 'config'
  
  class Session(Facade):
  	key = 'session'
  
  class Router(Facade):
  	key = 'router'
new_contents: # metaclass for Service class
  class DeflectToInstance(type):
      def __getattr__(selfcls, a): # selfcls in order to make clear it is a class object (as we are a metaclass)
          try:
              # first, inquiry the class itself
              return super(DeflectToInstance, selfcls).__getattr__(a)
          except AttributeError:
              # Not found, so try to inquiry the instance attribute:
              return getattr(selfcls.instance, a)
  
  # facade that is used for saving complex
  class Service:
  	__metaclass__ = DeflectToInstance
  
  	instance = None
  
  	@classmethod
  	def boot(cls, object, configuration = {}):
  		if cls.instance is None:
  			cls.instance = object(configuration)	
  
  class Config(Service):
  	pass
  
  class Session(Service):
  	pass
  
  class Router(Service):
  	pass
subject: implement meta class to call instance methods from Service statically, add initial Service classes