bootstrapping method changed, refs #122, prepared support for environments, refs #128, registry class introduced and all constants removed, refs #129, sample xml configurations, refs #124, prepared support for per-environment and per-context configurations, refs #72