Added docs to Extensions class. Refactored string locations

Added docs to Extensions class. Refactored string locations into constants in Location class (basically categorizing them) to prevent mistakes and easier lookup.