turned the whole project into a type safe activator template