[TASK] Modernize TypeScript setup and fix module paths