refactor release tasks and remove unnecessary module