add mixins to skeleton and move util functions to mixins