templates folder done
fixing functions, etc