added some more database methods. Some of them are not complete so they will throw notImplementedException