Updated completely DataBase class with active + added set and get in
order