Added docs to models and api