Design and Implementation of an off-the-shelf Controller for Power Electronics Research and Teaching