Added new methods to fetch  data from the database and store data into
it
Added a new Constructor for test purposes and added the variable os