Added definition of groups
Fixed treatments and groups definitions to work for multiple study files