Move some code from node_repr to other functions
Add proper headers to ex_commands.c.h
Add proper headers to *.c.h