blogName is now an env variable too
moved methods to private, to make scope easier to deal with