Moved tokenize to utils

Didn't see you had a dedicated file for utility functions, moved
tokenize to utils.

Added "re" reference to utils.