Reimplement adding SourceDirectories using storage manager calls

Signed-off-by: James Tasker <james_tasker1@hotmail.com>