added mask mode interface

Conflicts:
	src/Makefile
	src/mask.c
	src/mask.h
	src/options.c
	src/options.h
	src/rpp.c
	src/rpp.h