added template proxy filesystem operation function
rewritten most functions

currently not working