changed the database api from mysql to mysqli, also started the documentation for empathy