index.coffee refactor
Merge pull request #6 from sammla/server_models

index.coffee refactor