Add rake task to lib