added IApp interface, made LinkedListApp parse safe