remove cmake, make library pure header, fix tabs