R_DEV flag

Seperates R_DEV flag.
IS DIFFERENT FROM+DEBUG.
More features to be added.