Added hs file for the library.