WIP: refactoring to make TKApp use lifecycle protocol
WIP: still working on app lifecycle
Add logback.xml for example java service