Initial fixes testing out d.ts file trying to recreate the Template Project + Break out to Typescript. Further changes to come.