Implemented acsmf_simple with memory saving option
Implemented acsmf_simple with memory saving option