Well to controll the switching of light its quite easy to do...you just have to know the number of your lights as the number of your light will determine the size of your pic...well the very simple one would be to use PIC 16F84 using it you can get 13 I/O Pins ...well as you need to drive high voltage 220 V device so you'll have to use a relay, and the relay has to be controlled by the PIC...
well lets get doing, as you need the schematic...well just figure it out from below...
Connect the Output Pin of PIC to the Base of some general purpose NPN Transistor, the Collect should have a VCC and the Emitter of that transistor should got to one end of the Coil of the Relay, the other end of the relays coil will be grounded...the common of the relay will be connected to main 220V Power, the normally Open Connection of you Relay will be connected to your Light or Loads one terminal and the other terminal will be in the 2 terminal of the main power...
Hoping you would be figuring it out...else let me know and i'll make the schemagtic and upload it
Best Regards