Init

Working on conversion to TypeScript from old code