Api doc template

This is a first template for generating the API reference doc.