Smart mop technology