Refactoring Legacy Apps with APIs and Messages

Refactoring