Star formation driven mechanical feedback in molecular clouds