add setting,libs and update gitignore