added config and lib