moved Template and Password classes to under Demo; fixed class names.
set up in one line.
always load lastLog.
directly dic Renderer and Logger.