Now using new ternary operator
Removing for loop in favor of http_build_query
removed Controller::redirect() in favor of Controller::getRedirect()

The new getRedirect function will return return a view containing
the information for the redirect. This view can then be returned
from the controller to be executed. This was preferred over the
print/exit that was in the redirect function.