Clean Up and Document APIs

Clean Up and Document APIs
 - photo.controller
 - thread.controller