added basic configuration and http setup