Feature/layout

Added the possibility to get, and set the layout.