Reworking record system to work on polling from CLI to browser