[mod] refactor, put things related to todos data in another module