Adding docs and top API