Refactor controller
Add timing support (server-side)
Add support for Timing API (client-side)
Add Cross-Origin Resource Sharing support