Decouple architecture: Refactor Frontend to consume RESTful API from Backend
