config main.js changed
updated version
manages time in event loop