Shared Memory and User Input

Shared Memory objects have been added, as well as preliminary HID input(buttons only)

I think you got the idea about indentation now. Please fix it in all outstanding occurrences.