Updated the API to only expose a 'wingify' method and added a test.js file