Migrate views to HAML
Add integration tests