Added draft of solution for creating tables as grouped objects