A flexible and light ui framework