Refactoring REST API and adding client-side element framework.