created main programm, merged some functions im measurement main class