implementing snipping.cs, create first version of ipc (little broken)