Implemented building with config file