Store layout in file.

This makes it easier to transfer layout files.
Add resource file and icon.