todolist
extracted constants
finish todo
factor event handling into pen