mac n nagle refactored routing logic in client, started template stubs for views