added core files for switchbox