Refactored SHN_AccessGenerator class

Signed-off-by: Chanaka Indrajith <pe.chanaka.ck@gmail.com>