Added error handling and more function comments for documentation. Also added a few 'set' parameters and made column names used for verifying and tracking api key hits editable with API::set_key_required()