refactor engine and server to use standard time libraries available in c++11 AND to accept arbitrary js scripts from server connections and execute them async