remove arduino parts and some optimatins so we save some space, put most MCU related parts to config.h