made initialization from Configuration files reusable