Refactor how rendering happens
Setup test suite