Separate html from views into templates