addin interface options and app refactro to todo app