Finish switch to TypeScript
Requirement interface for achievements
Minor doc fixes