Added db and twitter connections and converted home page