Added internal status & exports getStatus() api