add auto compile and cpp, python templates