Added typescript and fixed some things