Pass parameters into classes from the config