Converted Library::cleanupFiles() and Library::scanDirectories() to slots
Moved certain slots from Actions to Library because they made more sense there