add lib functions to format event output
add db dir to gitignore
implement event displaying, add lib.py functions
Merge pull request #3 from raymondjacobson/events

Events