move shelltask to another file, make 'main' more cleaner