Added a theme class, template engine interface and a default simple php template engine. (Untested)