Update to gitignore (minor)
Added functionality for receiving messages