Added an example bot file (issue 21). Minor changes.