fixes a bug where a non controller class in a controller module would be called if they matched the request path. Also made certain errors a little more clear
forgot to add exception, sigh