Integrated Attitude Controller Design for Spacecraft