Improve bootstrap part and add configuration file