Extract config into a separete module