Moved API into sub-directory