Added views to API and added first batch of tests.