Moved P/Invoke wrappers to other files