Rewrote From Scrtach
Added Comments
Replaced $status variable with $switch
Added Changes
Changed Name of App