Homological algebra of modules over posets.