added get model id
added examples and cleaned up api documentation