removed main function
changed unused variable name to _
Merge pull request #95 from niyaton/cleanup

Cleanup
quick fix of output
removed unused code
removed unused variable
use print method instead of print statement
fixed bug
modified exit_class function to support inner class.
supported inner class.
modified detection algorithm.
added comment