Updated to new API. Added How to use instructions.