make app invokable from external dirs
add event filter
rename methods to clarify them