fixed gcc issues

* reformatted the code
* splitted column service even more