The two laws of engines in general, information and the meaning of entropy