clean up LeavesViewController header
refactor example
update code style