Ignore the Webstorm idea folder.
Major refactor of layout page.

Created different files for better code organization.