initial commit of working engine