Revert "Removed the static definition for $security_group_api"

This reverts commit a24ffd68942bb15e4bdcd13c70147686b3958547.
Revert "Modification for security_group_api"

This reverts commit 0ddadfa43dc08cb348c70a05e223c3f570021eae.
Revert "Porting security_group_api code"

This reverts commit 667babcf95b4fcdd893bb0b2dadf5a93e241db8d.