compile my stuff into own library libclir.a. first draft of clirtrain retrieval binary