add htdocs dir
add submit button
validate reqs before requiring for-label; fixes #29
code cleanup