removed duplicate file, added global.json, fixed bugs