using File.glob for the dir loader
fixing some indention issues
Merge pull request #1 from ike18t/master

using File.glob for the dir loader