refactor params parsing
refactor cookie finding/initialization
minor refactoring
extract route param regex matching into own method
consolidate both lib files and spec files (no more "phases")