moved code outline to todo.md