Interfaces refactor, Added operations with results, added tests
added renameIfExists boolean to WriteAllBytes and WriteAllText fns