Added views and fixed the main.