Added Noah's Ark pattern
Correctly reads .cells file with empty lines
cleanup and maintenance