mibuild: move programmer to mibuild and create programmer directly in platforms