added mask module
alpha version of mask module ready

It is a bit harry at the moment. But it works for now.
Merge branch 'new/gl.mask' into feature/working-branch