Added API docs
Fixed some typos
0.3.1 release