Moved object decorator to own file.
Added module resource updated