More environment features

inject_main → inject_parsers, minus less gem, no sword/settings, logger
rewritten