A class simulating live-coding