Bootstrap compatible renderer

I parametrized the renderer with an option for bootstrap rendering style. I'm sure it wasn't the best way to do it, but I didn't want to duplicate so many code to create another renderer from scratch.