Cleaned up cabal file.

Signed-off-by: Florian Bergmann <fbergmann@suse.de>
Added first ridiculously simple parsing code for command line args.

Signed-off-by: Florian Bergmann <fbergmann@suse.de>