refactored selectStandardVariable, moved controller logic to the link fxn as logic makes more sense to be put in that phase

Issue: N/A
Reviewer: Dan V (post)