add config and routings