Refactor Holmes web applications