Mechanical Design And Control System Configuration of a Humanoid Robot