Fix file encodings, create extension-friendly folder structure, and add uuid package