Removing duplication for Code Climate
further refactoring
Moved cookie bar and added phase banner to app