Changed main function to support setuptools entry_points console_scripts generation.
Renamed arguments to args in new main.
Added console entry 'sweeper'.