Add pin event detect
Start some documentation for events
Use markdown
Don't forget this too