refactored TodoModule