refactor to make api key first variable
update return statements to use constant
add alt modifier key support for opening edit pages. closes #1