Add physical layer, error lib, and makefile