started adding a template engine and the java stuff