Converted to sphinx style documentation