This is the first commit of Powerlines 2-2. I did a lot of hacking in order to make the code somewhat readable. There are no major changes for the user compared to powerlines 2-1.