changed README file
check this in
changed
Updated function
added header file
Added if check for active class
check in files