Started to work on implementing the API part.