Stream class converted and actionsender class added