Move row counts and column counts to atreus.c.
Playing with defining layers in json.