Added metaclass magic for auto addition of attributes
Added metaclass magic for creating  singletons
removed a stupid (non-working) staticmethod simulator