Remove clar.
Move template implementation to header file.

Template aren't classes, they are what the compiler uses to generate
classes. The implementations need to be inline so the compiler can find
them. Closes #1