rewrite the columncontainer js to make it a class, apply oop concept