remove unused imports
use a config package for http configuration