Add database connections and models and change layout to be more like an app