Refactor code

Remove group_transform_controller and table_transform_controller from api module as they do not belong to api module logically.