added rax support template base
cleanup