Make a method for your "view"

Just thought it might be nice to function this out, feel free to ignore this pull request. Does greatly simplify the "action" loop though.