Merge pull request #2 from Bistalock/master

Added P/Invoke handles to program