moved config into a separate package