added refactor section where app broken in to multiple files