Added layout config option for custom layout
Close #34