moved template implementation into bits/tcc files.
updated tutorial format.