factored out mock classes, added file sensor repository