Exporting Default Libraries

I'm looking at using the core Arduino libraries with plain ATmega168's just to make my life easier, but I am almost totally lost.

I think I have located them but am just wondering, are they the files in: \hardware\cores\arduino ?

How would I go about using them, if those are the right files? Could I just link and use them or do they depend on any hardware (or a specific fuse setting) to work correctly besides the ATmega?

ANY bit of advice is appreciated, or even just links to tutorials, if anybody has ever done something remotely similar and documented it.

You can edit and compile your code from the Arduino environment and just upload to your own circuit instead of the Arduino board. You might need to set the upload.using preference if you'd like to use a programmer instead of a bootloader.

Thanks, but I was kind of hoping on having the freedom to use any IDE that I would like (AVR Studio 4), as Arduino is lacking a few features that I would find very useful. Any other input is welcome.