The solution to this problem comes in a 3 module package.
The Key To Everything will include:
1 - The smart key
2 - A compact module for recording the pin placement of your keys
3 - An app to tie the two devices together
The functionality of each aspect, along with sketches are included in the awesome Youtube video! Check it out! ( http://youtu.be/HDCfbp0pnPM )