Implemented getAllTodos of repository and did some refactorings in factory and translator + tests