add split method to split a table output into multiple nodes.
move utility functions into their own file
add an IdentityTable class to nn, that can be used to merge outputs of
multiple nodes into a single node