[arctic-wolf] - Add comments for view fatory and refactor code