Refactoring mcweb application out of macaba