Feature/global flash

Use global flash in application layout instead of individual files.