Add group macro implemetation
Add get-vars function
Close to final solution, but doest not work