Deal with decoding

Still need to actually implement within functionality of the other
classes. Currently stand alone.