Update documentation
Refactor serial data checking for greater extensibility