Move logtrail to lib/, add example and singleton