Added full support for on_modify and on_create on the properties. This should make it easier to change the code based on the fact a resource is created or modified

Signed-off-by: hajee <hajee@moretIA.com>