REST like interface (json responses), auto refreshing index page