setup config and all base classes and files