Cleanup and folder moving... also tests!

I changed part of your parsing a little, hoping it'd be a bit more robust. Also fixed a small bug where slashes in editions was removed.