basic ui
working implementation with multiple mutexes