Application and UI framework