converted main part of the project to TS