temporal commit
Many changes. Added RF mode. Changed interface and added new opencv-like interface.