Commiting TheSimulator code ver1