Added views and render() function to core