created config and used in classes