Added Method for hiding options. Changed some variables, And cleaned up the code a bit
New Class added for file check Methods