Re-factor from script to cli module, uses entry_points instead fixes #61

pip will now then automatically generate .exe files
on Windows.

Thanks @fnd for helping out here.