Improve logging, change the main flow.
Fix requirements.txt for parsing.