Implement adversaries for the loremaster
Migrated frontend to typescript (reduced risk of bugs)
