refactor Config e contante de HOST