Simpler code
Don't depend on Resources
Remove duplication
Trying to make those 2 paths configurable
Use only folder urls
Simplify code
Scan the whole classpath
Don't use a fixed (maven related) classpath
Move code where it belongs