Sloth: put parts of sloth_project inside a function
SlothPackage: fixed bugs in sloth_package command
Turned the Sloth module into an installable CMake package