[model] adding Milestone api and model