Moved imports to top level

This one should fix the previous issue.  Using `from _____ import _____` results in a circular import since the module itself is run, but using a straight `import ______ as ______` should be fine.
Update event.py
Merge pull request #614 from pyprogrammer/patch-3

Moved imports to top level