add encoder motor library.