Added basic view builder
Ending tags and switch support