[#8] added api call to get keys,  also moved query api to /data and made a home page