First commit of lapsim code