added a renderer test.
added renderer to required.
fixed when destruct.
initial creation of new Template using only PHP.
modifications.