combining task loading and config into the seperate file