Fixed config

Now it doesn't construct all the objects.