Added groovy support

Also added mixed content support