Fix Guardfile.
Refactor StatisLibraryTask.