Changed docs to sphinx format