Better docs, starting to develop core API