Library for managing user interaction