added template system, images and some setttings paths