selectors: add subprocess import

Signed-off-by: Gregory M. Turner <gmt@be-evil.net>
main.py: restructure how I think it's supposed to look

Signed-off-by: Gregory M. Turner <gmt@be-evil.net>