refactor: Add filter function
feat: Set flag when rhythm is established
docs: Add types for variables
refactor: Namespace error names
version: Bump to 0.1.5