implement hide_columns. clean up class initialization code and some formatting issues