Updated map.py API

Conceptualised some filtering on tweets that is necessary for the web
app.