BFV-Complex and Higher Homotopy Structures