Added more consistency to the code
Fixed comment
Added strict comparison to is*View functions
Merge pull request #17 from Ninir/refactor

Added more consistency to the code