I have added comments on set_manager. Have created a seprated file. If you want to add something or i have done anything wrong just let me know