Creating new User Preferences with Python

Does anyone know how to create new user preferences for an add-on? More specifically i am trying to allow the user to specify a path to where some external blend files are. I have tried to create my own property that extends bpy.types.UserPreferences, but so far i have not be able to get this to work. I have looked through the API docs, but i cannot find any information on how or if i can do this.

you should check out AddonPreferences:
http://www.blender.org/documentation/blender_python_api_2_67_1/bpy.types.AddonPreferences.html

This is exactly what i was looking for thanks.