added api doc for the state package. refs #15