got templating to work and the begining of file upload paths