bootstrapping method changed, refs #121, prepared support for environments, refs #127, registry class introduced and all constants removed, refs #128, sample xml configurations, refs #123, prepared support for per-environment and per-context configurations, refs #71