Add export list, remove main function
Throw error for non-P6 images
Haddocks