Adds runLocationApi.
Reorganizes directory structure.