added Motor and header file