Added G3Database class