Create MapManger Class to perform the functions of save map object into postgresql