Implement climate db api

And make sqlalchemy implementation

Change-Id: I2f52b4ebd4bc5937e45c34c78f56864f3e91b7ae