Wifi shield, smaller footprint

Hello,

I have recently finished a project using the Uno and the wifi shield.

I am currently trying to shrink the size of it by removing the boards and building my own setup.

I have the Uno functionality working by using a atmega328 and few other componenets, now Im looking to do the same with the wifi shield but Im not sure how to go about it.

I know I can get the H&D wireless sip, but what other parts do I need?

Any help would be much appreciated, if there are any alternatives that'd be great too.

Im mainly looking to use the wifi library and wifi functionality with a really small footprint.

Thanks in advance