Add fully working macro for HAS_OPERATORS, some doc and continuing pgraph implementation