Moved config to package util, fixed imports everywhere, added mail config to Config trait