refacter commands into separate file
refactor and simplify releasecmd
only read body when necessary