Added pointer for getter and setter to the signature of RegisterProperty
Added macros to make our life easier. Need confirmation if this works with VC++