Added documentation to sql manager