Lot of Peripheal code refactoring, added Electric Grid Driver and Peripheral