Quantum BV theories on manifolds with boundary. Part 1