DEVIDM-19

Added environment scope to plugin, did some changes to model structure and added new documentation.