add map handler
transfer map sql query from api.php
return db connection if exist
transfer emotional map sql query from api.php
add checkin functionality
remove debug print
add realtime status support
Merge pull request #24 from dottymind/tornado

Rewrite api.php functionality to python.