Unfinished config options for controller name
Add resolve logic for controller and db modules