moved functions to mixins
added swapmixin for layoutcontainer
added first calculation
added dlagua layoutcontainer