The Chern-Simons model with boundary: A Cohomological approach