Add initial API implementation.
Update readme file with instructions.