updated readme and added comment to controller