write json files to output directory
Fix album queuing logic
PEP8 all up in here