Continued to explore typescript by moving current scripts to ts.