Added layouts with foreground. Minor refactoring.
Added layouts with foreground. Minor refactoring.