added codox plugin for generating API docs

It might be worth putting generated docs on github pages or something as well and to link them in the readme.