removed config files and fixed  promises