migrated over Application from azaptree-scala-framework