added makefile and fixed forwarding unit