Changed some documentation/updated for sql implimentation