Added FileHelper (includes Unit Tests) and moved the file/directory functions to it. Also updated some ApiControllers to return proper types.