Fixed few nasty bugs. Added reaction callback when there is no MOTD.
Added .gitignore.