Main With Framework

Added switch methods to program.