add tilegroup factory