added functionality to read and write from message space
changed gitignore