added registry functions
Merge pull request #8 from mkey0bc/master

added registry functions