Added first draft of issues api