refactor LayoutView into its own file
Merge pull request #13 from aaromp/master

refactor LayoutView into its own file