Refactor master actor routes. Add Emberjs client.