Convert to full console application

Can choose in arguments if you want to save data in files