add db dir to gitignore
implement event displaying, add lib.py functions