stat: moved backend status constants into public place, cleaned int/int32 states
backend: rewritten backend control/status commands