Moved scanner related classes to sub package scanner for better code structure.
Removed the use of the deprecated Loader class from SnakeYAML
Removed un-used imports.