Initial commit with working API