re-enabled generating source keys on first submission
remove unused function and its web.py dependency
Rewrite journalist.py with Flask