move column info into the main class.
The $id variable passed through the function callback in the post id. No need to get use the global.