implement event loop
remove/ignore pyc files