WIP: application delegate initialization