added basic UI framework