Code cleanup and added briefing template