Wire/Gate split begun

~half functions altered to compiled state under new gate/wire split. Not
execution ready though.