Added database add and get methods