Added logging shorthands (issue #4) and updated demo file