fixes #57 added validation to remove whitespaces and changed copy behavior to copy without interaction
fixed issue where template files would not move when template#edit was updated, also refactored template model