moving config to lib folder