prepare refac
basic UI framework now works