Order views and create templates