protocol refactoring

tests now pass for new seq protocol