refactors class a bit
adds a shorter syntax for exposing properties in YML

Assuming you use an exclusion policy ALL, you can now expose properties with
a shorter syntax:

```
SomeClass:
    exclusion_policy: ALL
    properties:
        # Before
        some_property: { expose: true }

        # After also
        some_property: ~
```