initial commit with working API