Migrated Modules to Controllers to TypeScript's Modules and Classes respectively