Refactor publishing, add blog publishing, add TODO and note capture