Convert CoffeeScript to TypeScript
Add compile settings for TypeScript