Add *swp to .gitignore
Fix dependencies
Tidy up the code
Released version 0.22

       * Fix missing dependencies
       * Run perltidy on the codebase