database connectivity and various get methods wired up.