added mongo, mysqli, router now uses json config