Flex UI framework