Added frame decoding to communication, link against libg, c, m