Oh, and add the register template
Remove pycas
Clean things up, fix a few bugs