Added Database_API and mysql_api. I haven't had time to test this yet,
pretty late. Let me know if any problems occur.