tomd setup removed from main app setup, minor organization of InitApp, and removal or worker pool related code, maybe later