removed init and added config file