init cell, matrix & input, output helper classes