DBManager File Sharing implementation

added methods
findLastTimeStamp()
handling of share event