First working version with no client template engine