Added framework to parse a packet.
Still need to actually compile functions.