(refactor) Remove platforms directory