add layers, groups and drawable