Added api.js and central.js