Initial working version of recorder