Rang conf

in order to simplify regsiter class methods
add default config ( currently only on service)