Refactor views and models into a different file, readable and simple.