put hairTools into a subdirectory.

Copy the subdirectory into your maya python folder and run:

import hairTools.hairTools as hairTools
hairTools.hairballUI()