Refactoring and adding new features

Refactored:
some code extracted to function parseTopic()
main code moved to save(...)
written main(), which implements parsing command-line options

Added:
command-line options
options: all-in-one, no-comments, no-symlinks, only-hubs, from_date, to_date
some  checks in code