Added redis database, mode selector. Needs styling.