Made Ensys class into a cool template