shoved old code into tm_old folder
added main class