Moving program logic out of Ack.pm and into ack.

This fixes #253; Ack.pm is entirely utility functions now.