Rewrite dots in python.
Remove ruby completely.