add a view that returns a list of languages
add tests for views