refactored template engine
updated plugin base and bumped version