Initial check in, working register function.
Merge pull request #1 from thongsav-usgs/master

Initial check in, working register function.