Updated gitignore, added a simpler way to register network messages

Signed-off-by: gigimoi <gassmann.gavin@gmail.com>