Tidy up structure
Move mkdir into a function
Separate logic that writes albums
Tidy up parseAlbums
Attach width and height to thumbnails

Closes #4.