Hint factory safe

The branch with hint factory stuff.
place a space after : in dictionaries please.