added maps api
Closes #1