Fixed conf bundles generation when no bundles directive is present
Added syncdb functionality