Added some basic structure and basic template support.