add haml support and convert some views to HAML