passed configuration into express setup