[REFACTOR] Reorganise build files