result table implemented -- working on the map and other functions

in order to get the geojason data working for both the map and the
table using different entities for now TODO is to make it conditional