Homotopy Algebras Inspired by Classical Open-Closed String Field Theory