removed unused files. Changed inline templates to rust ones.