adding de2 files

files for the de2 side communication - receive messages from middleman
on mode 3