Added event and hook system, added seenbot, added docstrings and removed some magic strings.