separate behaviours from the resource and base resource class into modules aka mixins