Store layouts in workspaces

Fix #56
Fix #6