some cleanup
some reorganization
pass query param to submission, closes #1
Merge branch 'feature/pass-parameter-with-submission'