Added main and run.bat.
Added main.