Added getting paths to controller and model from configuration (#108).