Added import function from mysql for api table and some bug fixed