Finished first draft of API reference and added liscence file.