Added osm_key to the result. Introduced constants.

Added osm_key to the result.
Introduced constants.
Added license header (apache 2.0) to the newly added files.